public class Test {
    public static void main(String[] args) {
        LinkedList list = new LinkedList();
        list.addFirst(1);
        list.addLast(2);
        list.addIndex(1, 3);
        list.display();
        System.out.println(list.contains(3));
        list.remove(3);
        list.display();
        list.addLast(2);
        list.removeAllKey(2);
        list.display();
        System.out.println(list.size());
        list.clear();
        list.display();
        float a = 0.1f;
        float b = 0.1f;
        boolean c = a+b == 0.2;
        System.out.println(c);

    }
}


